﻿using System;
using Microsoft.SharePoint;

namespace Eneta.Portal.Common.Dto
{
    /// <summary>
    /// Class for administrator activities.
    /// </summary>
    public class AdminActivityDto
    {
        /// <summary>
        /// Gets or sets the URL of related item.
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// Gets or sets the module.
        /// </summary>
        public string Module {get; set;}

        /// <summary>
        /// Gets or sets the user who previously edited the item.
        /// </summary>
        public string PreviousEditor { get; set; }

        /// <summary>
        /// Gets or sets the previous time stamp of previuos save.
        /// </summary>
        public DateTime PreviousTimeStamp { get; set; }

        /// <summary>
        /// Gets or sets the previous status that item has.
        /// </summary>
        public SPModerationStatusType PreviousStatus { get; set; }


        /// <summary>
        /// Gets or sets the current editor of item.
        /// </summary>
        public string CurrentEditor { get; set; }

        /// <summary>
        /// Gets or sets the current time stamp of item.
        /// </summary>
        public DateTime CurrentTimeStamp { get; set; }

        /// <summary>
        /// Gets or sets the current status of item.
        /// </summary>
        public SPModerationStatusType CurrentStatus { get; set; }
    }
}
